﻿using System;
using System.Collections.Generic;
using System.Text;
using Publicuse.Entity.AttributeUtil;

namespace Publicuse.Entity
{
    /// <summary>
    /// 统一业务日志记录
    /// </summary>
    public enum BusinessLogType : int
    {
        /// <summary>
        /// 只记录操作日志到文本
        /// </summary>
        [BusinessAttribute("只记录操作日志到文本")]
        writeLogToFile = 1,

        /// <summary>
        /// 只记录操作日志到数据库
        /// </summary>
        [BusinessAttribute("只记录操作日志到数据库")]
        writeLogToDataBase = 2,

        /// <summary>
        /// 记录操作日志到文本和数据库
        /// </summary>
        [BusinessAttribute("记录操作日志到文本和数据库")]
        writeLogToFileAndDataBase = 3,

        /// <summary>
        /// 不做记录日志
        /// </summary>
        [BusinessAttribute("不做记录日志")]
        NoWrite = 4
    }

}
